package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.Comment;

import java.util.List;

public interface CommentService {

    List<Comment> findListByMovieId(Integer movieId);

    void save(Comment comment);

    PageInfo findByPage(Integer pageNum, Integer pageSize, String creatorName, String moviesTitle);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);

    void deleteBatchByMoviesIds(Integer[] ids);

}